<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%--------------------------------------------------------------------------------------------------------------------
      项目汇总详情页面
      author:king
      createDate:2015-09-28
 ----------------------------------------------------------------------------------------------------------------------%>
<!DOCTYPE html>
<html>
<head>
 
    <%@include file="../common/common.inc" %>
    <title>快小递后台管理</title>
    <link href="${basePath}/css/plugins/iCheck/custom.css" rel="stylesheet">
    <!-- jqgrid
    <link href="${basePath}/css/plugins/jqgrid/ui.jqgridffe4.css" rel="stylesheet">-->
    <%-- 开关按钮 
    <link href="${basePath}/css/plugins/switchery/switchery.css" rel="stylesheet">--%>
    <link href="${basePath}/css/plugins/bootgrid/jquery.bootgrid.css" rel="stylesheet">

</head>

<body class="gray-bg" >
    <div class="wrapper wrapper-content  animated fadeInRight">
         <%----------------------------------------------------------  功能扩展区  begin------------------------------------------------------------- --%>
                  <div class="row">
				            <div class="col-sm-12">
				                <div class="ibox float-e-margins">
				                    <div class="ibox-title" style="background-color: #ffcc66;color: #000033">
				                        <h5>${wxName}项目<small>&nbsp;</small></h5>
				                        <div class="ibox-tools">
<!-- 				                            <a class="collapse-link">
				                                <i class="fa fa-chevron-up"></i>
				                            </a> -->
				                        </div>
				                    </div>
				                    <div class="ibox-content"  style="font-size: 18px;">
				                            <input type="hidden" id="projectId" value="${id}">
				                            <input type="hidden" id="wxName" value="${wxName}">
				                            <input type="hidden" id="summaryMoney" value="${summaryMoney}">
				                            <input type="hidden" id="totalMoney" value="${totalMoney}">
				                            <input type="hidden" id="usedNo" value="${usedNo}">
				                            <input type="hidden" id="unUsedNo" value="${unUsedNo}">
				                            <input type="hidden" id="startTime" value="${startTime}">
				                            <input type="hidden" id="endTime" value="${endTime}">
											<b>总金额:</b><span class="info_summaryMoney" style="color: #ff6633;"><fmt:formatNumber value="${summaryMoney}" type="currency" /></span>&nbsp;&nbsp;
											<b>可用余额:</b><span class="info_totalMoney" style="color: #ff6633;"><fmt:formatNumber value="${totalMoney}" type="currency" /></span>&nbsp;&nbsp;
											<b>已消费金额:</b><span class="info_avalibleMoney" style="color: #ff6633;"><fmt:formatNumber value="${summaryMoney - totalMoney }" type="currency" /></span>&nbsp;&nbsp;
											<b>推荐人数:</b><span class="info_total">${usedNo}&nbsp;<i class="fa fa-male"  style="color: #ff6633;"></i></span>&nbsp;&nbsp;
											<b>兑换码:</b><span class="info_exchangeCode">${usedNo+unUsedNo}/${usedNo}</span>&nbsp;&nbsp;
											<b>项目周期:</b>&nbsp;&nbsp;从<span class="info_startTime">&nbsp;${startTime}</span>&nbsp;到&nbsp;<span class="info_endTime">${endTime}</span>
				                    	    <span style="float: right"><button class="btn btn-outline btn-primary" type="button" onclick="window.location.href='${basePath}/page?p=page/merchantProjectList'">返回项目列表</button></span>
				                    </div>
				                </div>
				            </div>
		</div>
       <%----------------------------------------------------------  功能扩展区  end------------------------------------------------------------- --%>
    
       <%----------------------------------------------------------  商户列表  begin------------------------------------------------------------- --%>
            <div class="row">
		            <div class="col-sm-12">
		                <div class="tabs-container">
		                    <ul class="nav nav-tabs">
		                        <li class=""><a onclick="querySummaryByCode();"> 按快递员</a>
		                        </li>
		                        <li class="active"><a id="tab2" data-toggle="tab" href="#tab-2" aria-expanded="true" onclick="querySummaryByDate();">按日期</a>
		                        </li>
		                    </ul>
		                    
	                    <div class="tab-content">
	                        <div id="tab-2" class="tab-pane active">
	                            <div class="panel-body">
	                                <strong>按日期统计</strong>
	                                <%@include file="projectSummary/summaryByDate.jsp" %>
	                            </div>
	                        </div>
	                    </div>
		                </div>
		            </div>
            </div>
        <%----------------------------------------------------------  商户列表  end------------------------------------------------------------- --%>
        
    </div>
    

</body>

</html>



<%-- 表格内容详情 --%>
<%@include file="../common/colPop.jsp" %>
    
 <%--  js 开始--%>   
    <!-- 全局js -->
    <script src="${basePath}/js/bootstrap.mind797.js"></script>
    <!-- Peity -->
    <script src="${basePath}/js/plugins/peity/jquery.peity.min.js"></script>
    <!-- 自定义js -->
    <script src="${basePath}/js/content.mine209.js"></script>
    
    <script src="${basePath}/js/ajaxfileupload.js"></script>
    
    <script src="${basePath}/js/page/projectSummary1.js"></script>
    
    <!-- Page-Level Scripts -->
 <%--  js 结束 --%>   